package homework_06.home_03;

public class NoteBook {
    char color;
    int num;
    NoteBook(){};
    public NoteBook(char color, int num) {
        this.color = color;
        this.num = num;
    }
    public char color(){
        return color;
    }
    public int cpu(){
        return  num;
    }
    public void  All(){
        System.out.println("颜色："+this.color());
        System.out.println("型号："+this.cpu());
    }
}
